Write a program using a do while loop to check if the number entered by a user is a palindrome? [clo

Posted by josef on Stack Overflow See other posts from Stack Overflow or by josef
Published on 2010-04-01T11:22:49Z Indexed on 2010/04/01 11:33 UTC
Read the original article Hit count: 313

Filed under:
|

Write a program using a do while loop to check if the number entered by a user is a palindrome?

Hint: A number is a palindrome if it is the same when it read in forward or backward direction

e.g.

if the number entered is 121 - it is palindrome

if the number entered is 323 - it is palindrome

if the number entered is 132 - it is not palindrome

in c++

© Stack Overflow or respective owner

Related posts about c++

Related posts about homework